// 获取员工列表接口
const getStaffPage = (params) => {
  return $axios({
    url: '/staff',
    method: 'get',
    params
  })
}

// 新增员工接口
const addStaff = (params) => {
  return $axios({
    url: '/staff',
    method: 'post',
    data: params
  })
}

// 查找员工接口
const reqFindStaff = (params) => {
  return $axios({
    url: '/staff/find',
    method: 'get',
    params
  })
}

// 删除员工接口
const deleteStaff = (params) => {
  return $axios({
    url: 'staff/delete',
    method: 'delete',
    params
  })
}

// 修改员工接口
const reqEditStaff = (params) => {
  return $axios({
    url: '/staff',
    method: 'put',
    data: params
  })
}